package org.gpf.observer;


public class Main {

	public static void main(String[] args) {

		VideoSite site = new VideoSite();

		VideoFans f1 = new VideoFans("张三");
		VideoFans f2 = new VideoFans("李四");
		VideoFans f3 = new VideoFans("王五");
		VideoFans f4 = new VideoFans("赵六");

		site.registerObserver(f1);
		site.registerObserver(f2);
		site.registerObserver(f3);

		site.addVideos("古剑奇谭");
		site.registerObserver(f4);

		site.addVideos("何以笙箫默");
	}

}
